* lisp/replace.el (replace-lax-whitespace): New defcustom.
authorJuri Linkov <juri@jurta.org>
Thu, 6 Sep 2012 08:49:40 +0000 (11:49 +0300)
committerJuri Linkov <juri@jurta.org>
Thu, 6 Sep 2012 08:49:40 +0000 (11:49 +0300)
commit7a49cf17cbd88bb28c4e440b1bb24456f2453da0
treef8bd0278b6745479620ffd5950cc84fc2650a9bf
parent15b6dd03d7409399364d11e394a3df476afe16bf
* lisp/replace.el (replace-lax-whitespace): New defcustom.
(query-replace, query-replace-regexp, query-replace-regexp-eval)
(replace-string, replace-regexp): Mention it in docstrings.
(perform-replace, replace-highlight): Let-bind
isearch-lax-whitespace and isearch-regexp-lax-whitespace according
to the values of replace-lax-whitespace and regexp-flag.
Don't let-bind search-whitespace-regexp.

* lisp/isearch.el (isearch-query-replace): Let-bind
replace-lax-whitespace instead of let-binding
replace-search-function and replace-re-search-function.
(isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
and isearch-regexp-lax-whitespace to lazy-highlight variables.
(isearch-toggle-symbol): Set isearch-regexp to nil
in isearch-word mode (like in isearch-toggle-word).
etc/NEWS
lisp/ChangeLog
lisp/isearch.el
lisp/replace.el